<div class="col-lg-12">
	<!--当前位置 start-->
	<div class="row">
		<div class="col-lg-12">
			<ol class="breadcrumb">
				<li><i class="fa fa-home mrg-r-sm"></i>首页
				</li>
				<li class="active"><span><a href="#/card">会员卡</a></span>
				</li>
				<li class="active"><span>消费记录列表页面</span>
				</li>
			</ol>
            <div class="filter-block pull-left">
                <div class="form-group pull-left">
                    <input type="text" class="form-control" ng-model="search.start_time" id="start_time"  onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" data-date-format="yyyy-mm-dd"  placeholder="请选择开始日期">
                </div>
                <div class="form-group pull-left">
                    <input type="text" class="form-control" ng-model="search.end_time" id="end_time"  onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" data-date-format="yyyy-mm-dd"  placeholder="请选择结束日期">
                </div>
                <div class="form-group pull-left">
                    <input type="text" class="form-control" ng-model="search.card_number"  placeholder="请输入八位数的会员卡号">
                </div>
                <div class="form-group pull-left">
                    <input type="text" class="form-control" ng-model="search.member"  placeholder="请输入老人姓名" >
                </div>
                <div class="form-group pull-left">
                    <input type="text" class="form-control" ng-model="search.transaction_operator"  placeholder="请输入消费操作人" >
                </div>
                <div class="pull-left" >
                    <a class="btn btn-success pull-left" id="sousuo" ng-click="filter()">
                        <i class="fa fa-search search-icon"></i> 搜索
                    </a>
                    <a class="btn btn-primary pull-left mrg-b-lg md-trigger" ng-disabled="export_button" ng-click="export(search, search)"  >
                        <i class="fa  fa-minus-circle fa-lg"></i> 导出
                    </a>
                    <div id="range-ul" class=" pull-left col-lg-3" style="display: none;">
                        <div class="col-lg-6">
							<style>
								#url:focus {
									color: #fff;
								}
							</style>
                            <a class="btn btn-info  pull-left "  hidden id='url' href="{{export_url}}"><i class="fa fa-download fa-lg"></i> 点击下载</a></br>
                        </div>
                    </div>
                </div>
            </div>
		</div>
	</div>
	<!--当前位置 end-->

	<div class="row">
			<div class="col-lg-12">
				<div class="main-box no-header clearfix">
					<div class="main-box-body clearfix" >
						<div class="table-responsive">
							<table class="table table-hover table-striped text-center">
								<thead >
									<tr>
										<th class="text-center"><span>日期</span></th>
										<th class="text-center"><span>卡号</span></th>
										<th class="text-center"><span>老人姓名</span></th>
										<th class="text-center"><span>消费金额</span></th>
										<th class="text-center"><span>消费操作人</span></th>
										<th class="text-center"><span>消费备注</span></th>
									</tr>
								</thead>
								<tbody >
									<tr role="row" class="odd"  ng-repeat="item in transactionList" ng-style="{'background-color' : $index >= mark && item.type =='pay' ? '#CCFFFF' : 'default'}">
										<td class="sorting_1">{{item.create_time}}</td>
										<td>{{item.card_id}}</td>
										<td>{{item.member}}</td>
										<td>{{item.fund}}</td>
										<td>{{item.transaction_operator}}</td>
										<td>{{item.description}}</td>
									</tr>
								</tbody>
							</table>
						</div>
                        <ul class="pagination pull-right">
                            <li><a >总条数：{{count}}</a></li>
                            <li><a >总页数：{{totalPage}}</a></li>
                            <li><a ng-click="changePage(1)">首页</a></li>
                            <li><a ng-show="currentPage>1" ng-click="changePage(currentPage-1)"><i class="fa fa-chevron-left"></i></a></li>
                            <!--<li><span ng-show="frontdotShow">…</span></li>-->
                            <li ng-repeat="item in pageList" ng-click="changePage(item.number)" class="{{item.active}}"><a>{{item.number}}</a></li>
                            <!--<li><span ng-show="backdotShow">…</span></li>-->
                            <li><a ng-show="currentPage<totalPage" ng-click="changePage(currentPage+1)"><i class="fa fa-chevron-right"></i></a></li>
                            <li><a ng-click="changePage(totalPage)">尾页</a></li>
                        </ul>
					</div>
				</div>
				 
			</div>
		</div>
	
</div>